package com.billing.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.billing.model.dao.AssetsstorageBeanMapper;
import com.billing.model.entity.TAssetsstorage;
import com.billing.service.AssetsstorageService;
@Service
public class AssetsstorageServiceImpl implements AssetsstorageService {

	
	@Resource
	private AssetsstorageBeanMapper assetsstorageBeanMapper;
	
	public List<TAssetsstorage> getTAssetsstorageList(int assetsid,int currentPage,
			int pageSize) {
		return assetsstorageBeanMapper.getTAssetsstorageList(assetsid, currentPage, pageSize);
	}

	public int getTAssetsstorageNum(int assetsid) {
		return assetsstorageBeanMapper.getTAssetsstorageNum(assetsid);
	}

	public int insertTAssetsstorage(TAssetsstorage assetsstorage) {
		return assetsstorageBeanMapper.insertTAssetsstorage(assetsstorage);
	}

	public int deleteTAssetsstorage(int assetsId) {
		return assetsstorageBeanMapper.deleteTAssetsstorage(assetsId);
	}

}
